package cn.edu.usst.cs.goldfish.booking.meetingroom.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class MeetingRoomsConfig {
    /**
     * 会议室开放时间
     */
    @Value("${bookingSys.rooms.startHour:8}")
    private short startHour;
    /**
     * 会议室结束时间
     */
    @Value("${bookingSys.rooms.endHour:16}")
    private short endHour;
    /**
     * 午休时间
     */
    @Value("${bookingSys.rooms.breakMinutes:30}")
    private int breakMinutes;
    /**
     * 可提前预定天数
     */
    @Value("${bookingSys.rooms.advanceDays:7}")
    private int advanceDays;
}
